<meta charset="UTF-8">

<div id="loading1" class="loading" time="200">读取数据1</div>
<div class="loading" time="300">读取数据2</div>
<div class="loading" time="400">读取数据3</div>

<script src="loading.js"></script>
<script>
loading1.onclick = function(){
  this.stopLoading("加载结束！");
};
</script>

